<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    .box1 {
        width: 200px;
        height: 200px;
        background: blue;
        overflow: hidden;
    }

    .box2 {
        width: 100px;
        height: 100px;
        background: red;
        margin-top: 20px;
    }
</style>
<body>
<div class="box1">
    <div class="box2"></div>
</div>
</body>
</html>
